<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>重置密码</title>
    <style>
        body{
        display:flex;
        justify-content: center;
        align-items:center;
        height:100vh;
        margin:0;
        font-family:Arial,sans-serif;
        }
         form {
            text-align: left;
            width: 300px;
        }
        label {
            display: block;
            margin-bottom: 5px;
        }
        input[type="password"] {
            width: 100%;
            padding: 8px;
            margin-bottom: 10px;
            box-sizing: border-box;
        }
        button {
            width: 100%;
            padding: 10px;
            background-color: #007bff;
            color: white;
            border: none;
            cursor: pointer;
        }
        button:hover {
            background-color: #0056b3;
        }

    </style>
</head>
<body>
   <form method="post">
    {% csrf_token %}
    <label for="new_password1">新密码:</label>
    <input type="password" id="new_password1" name="new_password1" required>
    <label for="new_password2">确认新密码:</label>
    <input type="password" id="new_password2" name="new_password2" required>
    <button type="submit">提交</button>
</form>
</body>
</html>